<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>MiXiM: FilledUpMapping Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">MiXiM
   &#160;<span id="projectnumber">2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00090.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">FilledUpMapping Class Reference<div class="ingroups"><a class="el" href="a00520.html">mappingDetails - mostly internal mapping classes</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="FilledUpMapping" --><!-- doxytag: inherits="MultiDimMapping&lt; Linear &gt;" -->
<p>Takes a source <a class="el" href="a00058.html" title="Represents a not changeable mapping (mathematical function) from domain with at least the time to a A...">ConstMapping</a> with a domain A and a set of KeyEntries for a domain B and creates a clone of the source mapping with the domain B and the KeyEntries passed.  
 <a href="a00090.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00300_source.html">MappingUtils.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for FilledUpMapping:</div>
<div class="dyncontent">
<div class="center"><img src="a00741.png" border="0" usemap="#FilledUpMapping_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for FilledUpMapping:</div>
<div class="dyncontent">
<div class="center"><img src="a00742.png" border="0" usemap="#FilledUpMapping_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a00743.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58651c85d6c379da4e22810a0f7f18ed"></a><!-- doxytag: member="FilledUpMapping::KeySet" ref="a58651c85d6c379da4e22810a0f7f18ed" args="" -->
typedef std::set<br class="typebreak"/>
&lt; argument_value_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>KeySet</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b714062e32fe2c679b17c0ca7ee2c3e"></a><!-- doxytag: member="FilledUpMapping::KeyMap" ref="a6b714062e32fe2c679b17c0ca7ee2c3e" args="" -->
typedef std::map&lt; <a class="el" href="a00085.html">Dimension</a>, <br class="typebreak"/>
KeySet &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>KeyMap</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa090d76ebccf9be3283594989b528ba7"></a><!-- doxytag: member="FilledUpMapping::FilledUpMapping" ref="aa090d76ebccf9be3283594989b528ba7" args="(const ConstMapping *source, const DimensionSet &amp;dims, const KeyMap &amp;rkeys)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>FilledUpMapping</b> (const <a class="el" href="a00058.html">ConstMapping</a> *source, const <a class="el" href="a00086.html">DimensionSet</a> &amp;dims, const KeyMap &amp;rkeys)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a115d30d5ca3f2f0acb43beb86a498332"></a><!-- doxytag: member="FilledUpMapping::appendValue" ref="a115d30d5ca3f2f0acb43beb86a498332" args="(const Argument &amp;pos, argument_value_cref_t value)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>appendValue</b> (const <a class="el" href="a00013.html">Argument</a> &amp;pos, argument_value_cref_t value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00137.html">MappingIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00090.html#a13d1a4a5fbf6e7a1915b010d63ffc4d0">createIterator</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer of a new Iterator which is able to iterate over the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> and can change the value the iterator points to.  <a href="#a13d1a4a5fbf6e7a1915b010d63ffc4d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00137.html">MappingIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00090.html#ac05ee0f09361957877cde397b66b028b">createIterator</a> (const <a class="el" href="a00013.html">Argument</a> &amp;pos)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer of a new Iterator which is able to iterate over the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> and can change the value the iterator points to.  <a href="#ac05ee0f09361957877cde397b66b028b"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa6a4087b7ecb1be68dade630c328ccc6"></a><!-- doxytag: member="FilledUpMapping::fillRefIfNecessary" ref="aa6a4087b7ecb1be68dade630c328ccc6" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>fillRefIfNecessary</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50e5f9b1fe7975287f2c18020a0a8353"></a><!-- doxytag: member="FilledUpMapping::FilledUpMapping" ref="a50e5f9b1fe7975287f2c18020a0a8353" args="(const DimensionSet &amp;myDims, Dimension myDim, const KeyMap &amp;rkeys)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>FilledUpMapping</b> (const <a class="el" href="a00086.html">DimensionSet</a> &amp;myDims, <a class="el" href="a00085.html">Dimension</a> myDim, const KeyMap &amp;rkeys)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46a248189b439d4a682b8fb78e9c0fbd"></a><!-- doxytag: member="FilledUpMapping::createSubSignal" ref="a46a248189b439d4a682b8fb78e9c0fbd" args="() const " -->
<a class="el" href="a00136.html">Mapping</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00090.html#a46a248189b439d4a682b8fb78e9c0fbd">createSubSignal</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal helper method which creates a new sub-mapping for this <a class="el" href="a00148.html" title="Implementation of the Mapping-interface which is able to represent arbitrary dimensional instances of...">MultiDimMapping</a> instance. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2771812d5f5398944fd9ac80e3d5f9b9"></a><!-- doxytag: member="FilledUpMapping::fillRef" ref="a2771812d5f5398944fd9ac80e3d5f9b9" args="" -->
<a class="el" href="a00136.html">Mapping</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>fillRef</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa7dcdf39affa7efc2db8e67e4ca595eb"></a><!-- doxytag: member="FilledUpMapping::keys" ref="aa7dcdf39affa7efc2db8e67e4ca595eb" args="" -->
const KeyMap &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>keys</b></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54f96ad9437c6f8c1d8d31ef8256ebed"></a><!-- doxytag: member="FilledUpMapping::FilledUpMapping" ref="a54f96ad9437c6f8c1d8d31ef8256ebed" args="(const FilledUpMapping &amp;)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00090.html#a54f96ad9437c6f8c1d8d31ef8256ebed">FilledUpMapping</a> (const <a class="el" href="a00090.html">FilledUpMapping</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor is not allowed. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a884ef5a4d3461d99363028ebd5663e89"></a><!-- doxytag: member="FilledUpMapping::operator=" ref="a884ef5a4d3461d99363028ebd5663e89" args="(const FilledUpMapping &amp;)" -->
<a class="el" href="a00090.html">FilledUpMapping</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00090.html#a884ef5a4d3461d99363028ebd5663e89">operator=</a> (const <a class="el" href="a00090.html">FilledUpMapping</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator is not allowed. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Takes a source <a class="el" href="a00058.html" title="Represents a not changeable mapping (mathematical function) from domain with at least the time to a A...">ConstMapping</a> with a domain A and a set of KeyEntries for a domain B and creates a clone of the source mapping with the domain B and the KeyEntries passed. </p>
<p>This class is used by "applyElementWiseOperator()"-method to be able to handle cases where the second mappings domain is a real subset of the first mappings domain (meaning the first mappings domain has the same dimensions as the seconds domain and at least one further dimension).</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Karl Wessel </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a13d1a4a5fbf6e7a1915b010d63ffc4d0"></a><!-- doxytag: member="FilledUpMapping::createIterator" ref="a13d1a4a5fbf6e7a1915b010d63ffc4d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00137.html">MappingIterator</a>* FilledUpMapping::createIterator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer of a new Iterator which is able to iterate over the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> and can change the value the iterator points to. </p>
<p>The caller of this method has to delete the Iterator if not needed anymore. </p>

<p>Reimplemented from <a class="el" href="a00148.html#a903bef6518f96f54537beed48002b5fa">MultiDimMapping&lt; Linear &gt;</a>.</p>
<div class="fragment"><pre class="fragment">                                            {
    <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00091.html" title="MappingIterator implementation for FilledUpMappings.">FilledUpMappingIterator</a>(*<span class="keyword">this</span>);
  }
</pre></div>
</div>
</div>
<a class="anchor" id="ac05ee0f09361957877cde397b66b028b"></a><!-- doxytag: member="FilledUpMapping::createIterator" ref="ac05ee0f09361957877cde397b66b028b" args="(const Argument &amp;pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00137.html">MappingIterator</a>* FilledUpMapping::createIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00013.html">Argument</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer of a new Iterator which is able to iterate over the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> and can change the value the iterator points to. </p>
<p>The caller of this method has to delete the Iterator if not needed anymore. </p>

<p>Reimplemented from <a class="el" href="a00148.html#a2aa6a9a6b64954e20c6ee15f4bfb9925">MultiDimMapping&lt; Linear &gt;</a>.</p>
<div class="fragment"><pre class="fragment">                                                               {
    <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00091.html" title="MappingIterator implementation for FilledUpMappings.">FilledUpMappingIterator</a>(*<span class="keyword">this</span>, pos);
  }
</pre></div>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/MiXiM/extsrc/mixim/src/base/phyLayer/<a class="el" href="a00300_source.html">MappingUtils.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a00090.html">FilledUpMapping</a>      </li>

    <li class="footer">Generated on Tue Mar 5 2013 21:26:32 for MiXiM by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
